[qemu] Fix reads on unreported memory addresses.
authorchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Fri, 28 Jul 2006 09:12:23 +0000 (10:12 +0100)
committerchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Fri, 28 Jul 2006 09:12:23 +0000 (10:12 +0100)
commit15abeaba256c76895880ec07cfc3a46f47663696
tree468b8ff460d1452b90ea8f1166d3ca7198469f99
parent9314b23b0173f4e4db2840b993ae0aa5077f2b3f
[qemu] Fix reads on unreported memory addresses.
The function cpu_physical_memory_rw() thinks that if an address is
not mmio-related, it is assumed to be a RAM case. This is improper.
When making the assumption, we should make sure the address is less
than the guest physical memory size ram_size.

From: Cui, Dexuan <dexuan.cui@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
tools/ioemu/patches/ioemu-ia64
tools/ioemu/patches/qemu-target-i386-dm
tools/ioemu/target-i386-dm/exec-dm.c